package Logic.EventSample.Order;

import FrameWork.Event.Trigger;
import org.springframework.stereotype.Component;

@Component
public class OrderTrigger extends Trigger<OrderEventHandler> {

    public void fire(){
        for (OrderEventHandler handler:getEventHandlers()){
            handler.fire();
        }
    }

}
